package com.ming.dancing.springboot.service;

import com.ming.dancing.springboot.entity.Course;


import java.util.List;

public interface CourseService {
    List<Course> findAll();

    void save(Course course);

    void delete(Integer id);

    Course find(Integer id);

    void update(Course course);

    //根据舞者id查询课程
    List<Course> getcourselistbyid(Integer dancerid);

    //分页查询
//    List<Course> findcourseList(int start, int size);
}
